package com.slipper.sfts.api.stock.service;

import com.slipper.common.bo.Result;
import com.slipper.common.feign.ServiceClient;
import com.slipper.common.annotation.FeignRequestMapping;
import com.slipper.sfts.api.stock.bo.StockOrderBO;

import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 委托信息表
 * 
 * @date 2024-01-14 22:22:16
 */
@ServiceClient
public interface IStockOrderSv {
    @FeignRequestMapping("/stockOrder/queryBy")
    Result<StockOrderBO> queryBy(@RequestBody String id);

    @FeignRequestMapping("/stockOrder/queryList")
    Result<List<StockOrderBO>> queryList(@RequestBody StockOrderBO bo);

    @FeignRequestMapping("/stockOrder/queryPage")
    Result<List<StockOrderBO>> queryPage(@RequestBody StockOrderBO bo);

    @FeignRequestMapping("/stockOrder/save")
    Result<?> save(@RequestBody StockOrderBO bo);
    
    @FeignRequestMapping("/stockOrder/delete")
    Result<?> delete(@RequestBody StockOrderBO bo);
}
